package com.duolaibei.business.view.goods.mode;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

@Entity
public class TypesBean implements Serializable {
    private static final long serialVersionUID = 7999474001949003521L;
    @Id(autoincrement = true)
    private Long id;
    //姓名
    public String name = "";
    public boolean isShowEdit;
    public int typeNum;
    public boolean isChoosed;

    @Generated(hash = 1538486901)
    public TypesBean(Long id, String name, boolean isShowEdit, int typeNum,
                     boolean isChoosed) {
        this.id = id;
        this.name = name;
        this.isShowEdit = isShowEdit;
        this.typeNum = typeNum;
        this.isChoosed = isChoosed;
    }

    @Generated(hash = 561819687)
    public TypesBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean getIsShowEdit() {
        return this.isShowEdit;
    }

    public void setIsShowEdit(boolean isShowEdit) {
        this.isShowEdit = isShowEdit;
    }

    public int getTypeNum() {
        return this.typeNum;
    }

    public void setTypeNum(int typeNum) {
        this.typeNum = typeNum;
    }

    public boolean getIsChoosed() {
        return this.isChoosed;
    }

    public void setIsChoosed(boolean isChoosed) {
        this.isChoosed = isChoosed;
    }

    @Override
    public String toString() {
        return "TypesBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", isShowEdit=" + isShowEdit +
                ", typeNum=" + typeNum +
                ", isChoosed=" + isChoosed +
                '}';
    }
}
